package com.emergency.embackend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class HelpComment {
    private Long helpCommentId;
    private Long userId;
    private Long toUserId;
    private Long rootId;
    private String content;
    private char type;
    private Long helpId;
    private Long hot;
    private Long view;
    private String icon;
    private String nickName;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    private List<HelpComment> helpComments;
}
